package com.pan.admin.module.channel.entity;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;


/**
 * 渠道关联产品对象 loan_channel_market
 *
 * @author ts
 * @date 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LoanChannelMarket extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Long id;

    /**
     * 渠道主键id
     */
    @Excel(name = "渠道主键id")
    private Long loanChannelId;

    /**
     * 贷款超市主键id
     */
    @Excel(name = "贷款超市主键id")
    private Long loanMarketId;

    /**
     * 排序值(越大越靠前)
     */
    @Excel(name = "排序值(越大越靠前)")
    private Integer sort;

    /**
     * 权重比例值
     */
    @Excel(name = "权重比例值%")
    private Integer weight;

    /** 贷超单价 */
    private BigDecimal price;

    /**
     * 贷超名称
     */
    @Excel(name = "贷超名称")
    private String name;

    /**
     * 状态(0禁用，1启用)
     */
    @Excel(name = "状态(0禁用，1启用)")
    private Integer status;

    /**
     * 是否开启头排(0禁用，1启用)
     */
    @Excel(name = "是否开启头排(0禁用，1启用)")
    private Integer enableTop;

    /**
     * 贷超前端展示模式(默认0价格展示,1权重展示, 2自定义排序)
     */
    @Excel(name = "是否开启头排(0禁用，1启用)")
    private Integer marketDisplayMode;

    /** 渠道名称 */
    private String channelName;

    /** 贷超状态 */
    private Integer marketStatus;
}
